package com.kaki.service;
//@author Kaki 2019/7/17-10:37

import com.kaki.entity.Menu;
import com.kaki.pojo.PageResult;
import com.kaki.pojo.QueryPageBean;

import java.util.List;

public interface MenuService {

    List<Menu> getMenuByUsername(String username);

    PageResult selectMenuPageData(QueryPageBean pageRequestData);

    void addMenu(Menu menu) throws Exception;

    Menu queryMenuById(Integer id);

    void updateMenu(Menu menu);

    void deleteMenu(Integer id) throws Exception;

    List<Menu> selectAllMenu();

    List<Integer> selectMenuIdsByRoleId(Integer id);
}
